export interface PermissionItem {
  pid: string;
  name: string;
  code: string;
  id?: string;
  gmtCreate?: string;
  gmtModified?: string;
  toCode?: string;
  type?: number;
  level?: number;
  select?: boolean;
  children?: PermissionList;
}

export type PermissionList = PermissionItem[];

export interface GetPermissionListResponse {
  children: PermissionList;
}
